<? Phpr_View::beginBlock("view") ?>
	<ul class="breadcrumbs">
		<li><a href="<?= $this->config_url() ?>">Home</a></li>
		<li><?= $this->app_page_title ?></li>
	</ul>

	<div class="form400">
		<p>On this page you can set a user name and password you use to login into the LemonStand configuration tool. <strong>Important!</strong> There is no Password Restore feature for the LemonStand configuration tool.</p>
		
		<?= Phpr_Form::openTag() ?>
		<div class="form">
			<!--[if IE]><fieldset class="ie_fix"><![endif]-->
				<div class="formFlash"></div>
				<!--[if IE]></fieldset><![endif]-->

				<div class="tabs">
					<ul class="tabs_tabs">
						<li class="round active"><a href="#tab_1">User</a>
							<div class="lt"></div>
							<div class="rt"></div>
						</li>
					</ul>
					<div class="clear tab_separator"></div>

					<ul class="tabs_pages">
						<li id="tab_1" class="form_page">
							<ul class="formElements">
								<li class="field text full">
									<label for="current_password">
										Current Password <span class="required">*</span>
										<span class="comment">Please enter your current Configuration Tool password.</span>
									</label>

									<div class="fieldContainer">
										<input autocomplete="off" type="password" name="current_password" id="current_password" class="varchar" value=""/>
									</div>

									<div class="clear"></div>
								</li>
								
								<li class="field text full">
									<label for="user">User Name <span class="required">*</span></label>

									<div class="fieldContainer">
										<input autocomplete="off" type="text" name="user" id="user" class="varchar" value="<?= h($user) ?>"/>
									</div>

									<div class="clear"></div>
								</li>

								<li class="field text left">
									<label for="password">Password <span class="required">*</span></label>

									<div class="fieldContainer">
										<input autocomplete="off" type="password" name="password" id="password" class="varchar" value=""/>
									</div>

									<div class="clear"></div>
								</li>

								<li class="field text right">
									<label for="confirm">Password Confirmation <span class="required">*</span></label>

									<div class="fieldContainer">
										<input autocomplete="off" type="password" name="confirm" id="confirm" class="varchar" value=""/>
									</div>

									<div class="clear"></div>
								</li>
							</ul>
							<div class="clear"></div>
						</li>
					</ul>
				</div>
			</div>
			<div class="clear"></div>

			<?= backend_ajax_button('Save', 'config_security_onSave', array()) ?>
			<?= backend_button('Cancel', $this->config_url()) ?>

			<div class="clear"></div>
		</form>
	</div>
<? Phpr_View::endBlock() ?>